Skip to content

Enable BooleanNegation checkstyle rule always#68677

Merged
pugnascotia merged 1 commit intoelastic:masterfrom
pugnascotia:checkstyle-boolean-negation
Feb 8, 2021
Merged

Enable BooleanNegation checkstyle rule always#68677
pugnascotia merged 1 commit intoelastic:masterfrom
pugnascotia:checkstyle-boolean-negation

Conversation

@pugnascotia
Copy link
Contributor

Having fixed all the uses of ! for boolean negation, now enforce the == false style via Checkstyle all the time.

@elasticmachine elasticmachine added the Team:Delivery Meta label for Delivery team label Feb 8, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-delivery (Team:Delivery)

Copy link
Contributor

@mark-vieira mark-vieira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pugnascotia pugnascotia merged commit 974c9aa into elastic:master Feb 8, 2021
@pugnascotia pugnascotia deleted the checkstyle-boolean-negation branch February 8, 2021 19:53
pugnascotia added a commit that referenced this pull request Feb 9, 2021
Backport of #68677.

Enforce the == false style of boolean negation via Checkstyle all the time in 7.x, while
also fixing the last usages of !.
@craigtaverner craigtaverner self-assigned this Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Delivery/Tooling Developer tooliing and automation >enhancement Team:Delivery Meta label for Delivery team v7.12.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants